Skip to content

Explain planning refusals for unannotated MCP tools - #1920

Merged
justrach merged 1 commit into
mainfrom
fix/plan-mcp-readonly
Nov 21, 2026
Merged

justrach merged 1 commit into
mainfrom
fix/plan-mcp-readonly

Conversation

@justrach

Copy link
Copy Markdown
Owner

Planning called an unannotated MCP lookup an edit. Report that the tool is not declared read-only instead, without relaxing the gate or inferring permissions from tool names. Cover direct and RLM calls with a scripted regression.

Fixes #1919.

An MCP lookup without a read-only declaration is refused as an edit, even when called through RLM. Explain the missing declaration instead, without changing what plan mode permits.

Co-Authored-By: Codegraff <blackfloofie@codegraff.com>
@justrach
justrach merged commit d808c58 into main Nov 21, 2026
10 checks passed
@justrach
justrach deleted the fix/plan-mcp-readonly branch November 21, 2026 02:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Planning labels an unverified MCP read through RLM as an edit

1 participant